<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//Route::get('/', function () {
//    return view('welcome');
//});


Route::group([
    'namespace' => 'home'
] , function(){
    Route::get('/' , 'IndexController@index')->name('index');
    Route::get('/news/{id}.html' , 'NewsController@read')->name('news');
    Route::get('/news_cls/{cls_id}.html' , 'NewsController@index')->name('news.cls_list');
    //project_list
    Route::get('/project_list/{cls_id}.html' , 'ProjectController@index')->name('project.list');
    Route::get('/project/{id}.html' , 'ProjectController@read')->name('project');
    // 申请流程
    Route::get('/procedure.html' , 'ProcedureController@index')->name('procedure');
    Route::get('/maps.html' , 'OrgController@index')->name('maps');
});